package com.hq.mybatisdemo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class user {
    private int uid;
    private String uname;
    private int uage;
    private String usex;
    private String uclass;
    private String ucollege;

    public user(){

    }
    public user(int uid,String uname,int uage,String usex,String uclass ,String ucollege){
        this.uid=uid;
        this.uname=uname;
        this.uage=uage;
        this.usex=usex;
        this.uclass=uclass;
        this.ucollege=ucollege;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public int getUage() {
        return uage;
    }

    public void setUage(int uage) {
        this.uage = uage;
    }

    public String getUsex() {
        return usex;
    }

    public void setUsex(String usex) {
        this.usex = usex;
    }

    public String getUclass() {
        return uclass;
    }

    public void setUclass(String uclass) {
        this.uclass = uclass;
    }

    public String getUcollege() {
        return ucollege;
    }

    public void setUcollege(String ucollege) {
        this.ucollege = ucollege;
    }
}
